package io.lkt.modules.sys.dao;

import io.lkt.modules.sys.entity.BArticleShieldEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 文章(换成我的)屏蔽表
 * 
 * @author xss
 * @email dustwas@163.com
 * @date 2021-09-02 09:19:51
 */
@Mapper
public interface BArticleShieldDao extends BaseMapper<BArticleShieldEntity> {

    List<BArticleShieldEntity> getList(Map<String, Object> params);

    Integer getListTotal(Map<String, Object> params);

    BArticleShieldEntity getByArticleId(@Param("articleId") Integer articleId);

    int deleteByArticleId(@Param("articleId") Integer articleId);

    int saveInfo(BArticleShieldEntity bArticleShield);
}
